package modelo;

import java.util.List;

/**
 *
 * @author Marlon & Christian
 */
public class FuncionesAdalaine {

    public static double fPropagacion(List<Double> filajPesos, List<Double> vectorEntrada) {
        double aux = 0;
        for (int i = 0; i < vectorEntrada.size(); i++) {
            aux += (filajPesos.get(i) * vectorEntrada.get(i));
        }
        return aux;
    }

    public static double comprobacion() {
        return 0.0f;
    }

    public static double cambiarPeso(double factor, double target, double y, double x) {
        return factor * (target - y) * x;
    }
}
